package com.tjian.fafa.user.module.login;

import com.tjian.fafa.user.base.http.HttpRequest;
import com.tjian.fafa.user.config.ConfigOfFafa;


/*
 * Author Liudewei
 * 
 * 提交注册,返回int型注册结果 */
public class NetUserRegist
{
    public static int getData(final String param)
    {

        int state = 0;
        try
        {
            state = Integer.parseInt(HttpRequest.sendPost(ConfigOfFafa.projectWebsiteUrl + "?tag=wemall_user_regist", param));
        }
        catch (Exception e)
        {
            return -1;
        }
        return state;
    }

}
